package practice;

public class Pra_01 {
    public static void main(String[] args) {
        int a = 10, b = 66;
        if(a < b)
            a = b;
        // a = a < b ? b : a;
        System.out.println(a);

        int year = 2022;
        if(year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
            System.out.println(year + "年是闰年");
        else
            System.out.println(year + "年是平年");
    }
}
